package lxt.entity;
// default package

import java.util.Date;


/**
 * UserInfo entity. @author MyEclipse Persistence Tools
 */

public class UserInfo  implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
    // Fields    

     private String username;
     private String password;
     private Integer sex;
     private String yobbo;
     private String phone;
     private Integer loginType;
     private Date lastLogin;


    // Constructors

    /** default constructor */
    public UserInfo() {
    }

    
    /** full constructor */
    public UserInfo(String password, Integer sex, String yobbo, String phone, Integer loginType, Date lastLogin) {
        this.password = password;
        this.sex = sex;
        this.yobbo = yobbo;
        this.phone = phone;
        this.loginType = loginType;
        this.lastLogin = lastLogin;
    }

   
    // Property accessors

    public String getUsername() {
        return this.username;
    }
    
    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return this.password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getSex() {
        return this.sex;
    }
    
    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getYobbo() {
        return this.yobbo;
    }
    
    public void setYobbo(String yobbo) {
        this.yobbo = yobbo;
    }

    public String getPhone() {
        return this.phone;
    }
    
    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getLoginType() {
        return this.loginType;
    }
    
    public void setLoginType(Integer loginType) {
        this.loginType = loginType;
    }

    public Date getLastLogin() {
        return this.lastLogin;
    }
    
    public void setLastLogin(Date lastLogin) {
        this.lastLogin = lastLogin;
    }
   
}